#pragma once
#include "people.h"

enum Subject{MATHS, PHYS, ENGLISH};
class Teacher :
	public People
{
private:
	int classNum;
	Subject subject, subject2;
public:
	virtual int getType();
	virtual void* Clone();
	virtual void PrintInfo(ostream &out);
	void PrintInfo();
	int getClass();
	Subject getSubject();
	Subject getSubject2();

	void setClass(int classNum);
	void setSubject(Subject subject);
	void setSubject2(Subject subject);
	Teacher(char* name, Date birthday, int id, int classNum, Subject subject1, Subject subject2);
	~Teacher(void);
};
